package com.dk.service;

import com.dk.page.PageResult;
import com.dk.pojo.User;

import java.util.List;

public interface Userservice {
    void insertuser(User user);

    void deleteById(Integer id);

    void deleteAllById(List<String> ids);

    PageResult<User> getAlluser(Integer pageNum, Integer pageSize);

    List<User> getuserByName(String name);

    User getById(Integer id);

    void updateuser(User user);

    User LogingetuserByName(String username);
}
